package com.chat.api.web.po;

import com.chat.api.web.vo.BaseIDWorkEntity;
import lombok.Data;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Proxy(lazy = false)
@Data
@Table(name = "blog")
public class BlogBean extends BaseIDWorkEntity<BlogBean> {

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "title")
    private String title;

    @Column(name = "content")
    private String content;

    @Column(name = "views")
    private Integer views;

    @Column(name = "remark_count")
    private Integer remarkCount;

    @Column(name = "like_count")
    private Integer likeCount;

    @Column(name = "group_id")
    private Long groupId;

    @Column(name = "status")
    private String status;

    @Column(name = "author_name")
    private String authorName;

    @Column(name = "proc_inst_id")
    private String procInstId;//流程实例id


}
